package com.gagakuai.executor.parameter;

import java.sql.PreparedStatement;
import java.sql.SQLException;

/*
 * @program: common-starters
 * @description: 参数解析器
 * @author: houhong
 * @create: 2023-06-30 21:11
 */
public interface ParameterHandler {

    /*
     * 拿到参数对象
     */
    Object getParameterObject();

    /*
     * 设置参数
     */
    void setParameters(PreparedStatement ps) throws SQLException;
}